package 集合.queueExamples;

import org.jetbrains.annotations.NotNull;

import java.util.Collection;
import java.util.Iterator;
import java.util.Queue;

/**
 * queue 实现了接口
 * retainAll 只保留交集部分【剩下的都移除掉】
 */
public class queueImpl implements Queue {
	/**
	 * 值
	 * @param c
	 * @return
	 */
	@Override
	public boolean retainAll(@NotNull Collection c) {
		return false;
	}

	@Override
	public int size() {
		return 0;
	}

	@Override
	public boolean isEmpty() {
		return false;
	}

	@Override
	public boolean contains(Object o) {
		return false;
	}

	@NotNull
	@Override
	public Iterator iterator() {
		return null;
	}

	@NotNull
	@Override
	public Object[] toArray() {
		return new Object[0];
	}

	@NotNull
	@Override
	public Object[] toArray(@NotNull Object[] a) {
		return new Object[0];
	}

	@Override
	public boolean add(Object o) {
		return false;
	}

	@Override
	public boolean remove(Object o) {
		return false;
	}

	@Override
	public boolean addAll(@NotNull Collection c) {
		return false;
	}

	@Override
	public void clear() {

	}

	@Override
	public boolean removeAll(@NotNull Collection c) {
		return false;
	}

	@Override
	public boolean containsAll(@NotNull Collection c) {
		return false;
	}

	@Override
	public boolean offer(Object o) {
		return false;
	}

	@Override
	public Object remove() {
		return null;
	}

	@Override
	public Object poll() {
		return null;
	}

	@Override
	public Object element() {
		return null;
	}

	@Override
	public Object peek() {
		return null;
	}
}
